home *** CD-ROM | disk | FTP | other *** search
/ Motor Sport Digital Archive Collection 1960s / Motor Sport Digital Archive Collection 1960s.iso / main.swf / scripts / mx / collections / errors / ItemPendingError.as < prev    next >
Encoding:
Text File  |  2008-05-21  |  724 b   |  35 lines

  1. package mx.collections.errors
  2. {
  3.    import mx.core.mx_internal;
  4.    import mx.rpc.IResponder;
  5.    
  6.    use namespace mx_internal;
  7.    
  8.    public class ItemPendingError extends Error
  9.    {
  10.       mx_internal static const VERSION:String = "2.0.1.0";
  11.       
  12.       private var _responders:Array;
  13.       
  14.       public function ItemPendingError(param1:String)
  15.       {
  16.          super(param1);
  17.       }
  18.       
  19.       public function addResponder(param1:IResponder) : void
  20.       {
  21.          if(!_responders)
  22.          {
  23.             _responders = [];
  24.          }
  25.          _responders.push(param1);
  26.       }
  27.       
  28.       public function get responders() : Array
  29.       {
  30.          return _responders;
  31.       }
  32.    }
  33. }
  34.  
  35.